<template>
  <div class="TeamDetail" v-html="teamimg">
  </div>
</template>
<script>
export default {
  data(){return{ teamimg:""}},
  props:["id"],
  mounted(){
    console.log(this.id)
    this.axios.get("team_content",{params:{tid:this.id}}).then(result=>{
      this.teamimg=result.data.results[0].img;
    })
  }
}
</script>
<style>
  .TeamDetail .pic ,.con-txt{
    width: 1200px;
    margin: 0 auto;
  }
</style>
